#include <iostream>
using namespace std;

#define MAXSIZE 100

int main(void)
{
    char Stack[MAXSIZE];
    int top = -1;
    char str1[] = "South China Agricultural University";
    char str[] = "ytisrevinU larutlucirgA anihC htuoS";
    while(str[++top] != '\0')
    {
        Stack[top] = str[top];
    }
    while(top > -1)
    {
        cout << Stack[--top];
    }
    cout << endl;

    return 0;
}